package Chain_of_Responsibility_Pattern.War;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Meeting extends Officer{
    public Meeting(){
        super();
    }

    @Override
    public void setOfficer(Officer officer) {
        super.setOfficer(officer);
    }

    @Override
    public void processRequest(Mission request) {
        if(request.getNumber()>200){
            System.out.println("敌人数量为"+request.getNumber()+"由会议下达作战命令");
        }
        else{
            this.officer.processRequest(request);
        }
    }
}
